<?php
	$css_list[0]['url'] = './tpl/css/setting.css';
	$js_list[0] = './public/js/city.js';
?>
<!--{template inc/header_n}-->
<div id="body" class="fm960">
	<div class="piece1">
		<div class="piece1_hd"></div>
		<div class="piece1_bd clearfix">
			<div style="width:1180px;">
				<!--{template inc/settings/settings_menu}-->
				<div id="setting_box" class="fl">
					<div id="setting_form" class="setting_basic">
                        <h3>
                            {$order['ordername']}
                            <span style="color:red;font-weight: normal;">
                            {if $order['flag'] == 0}
                            待上传合同
                            {elseif $order['flag'] == 1}
                            合同待签署
                            {elseif $order['flag'] == 2}
                            合同已签
                            {elseif $order['flag'] == 3}
                            已收30%预付款
                            {elseif $order['flag'] == 4}
                            已收80%预付款
                            {elseif $order['flag'] == 5}
                            交易完成
                            {/if}
                            </span>
                        </h3>
                        <p>新郎:{$contract['xl']}&新娘:{$contract['xn']}!</p>
                        <table class="table_list" width="100%" cellspacing="1" border="0">
                            <tr>
                                <td>下单状态</td>
                                <td>已下单</td>
                                <td><?php echo date('Y-m-d H:i:s', $order['dateline']);?></td>
                            </tr>
                            <tr>
                                <td>合同状态</td>
                                <td>{if $order['flag']>=2}合同已签{else}-{/if}</td>
                                <td></td>
                            </tr>
                            <tr>
                                <td>预付款</td>
                                <td>{if $order['flag']>=3}已付30%预付款{else}-{/if}</td>
                                <td><?php echo empty($order['end_time']) ? '-' : date('Y-m-d H:i:s', $order['end_time']);?></td> 
                            </tr>
                            <tr>
                                <td>中期款</td>
                                <td>{if $order['flag']>=4}已付50%中期款{else}-{/if}</td>
                                <td><?php echo empty($order['end_time2']) ? '-' : date('Y-m-d H:i:s', $order['end_time2']);?></td> 
                            </tr>
                            <tr>
                                <td>尾款</td>
                                <td>{if $order['flag']>=5}已付20%尾款,交易完成{else}-{/if}</td>
                                <td><?php echo empty($order['end_time3']) ? '-' : date('Y-m-d H:i:s', $order['end_time3']);?></td> 
                            </tr>
                        </table>
					</div>
				</div>
			</div>
		</div>
		<div class="piece1_ft"></div>
	</div>
	
    <div class="i_notice2">
        <div class="j_title">公告栏</div>
        <div class="j_list">
            <ul>
             <li><a href="#"><b>婚礼款项建设银行冻结监管</b></a></li>
             <li><a href="#"><b>真实新人评价（新人凭婚宴发票进行评价）</b></a></li>
             <li><a href="#"><b>没有中间商赚差价</b></a></li>
            </ul>
        </div>
    </div>
</div>
<!--{template inc/footer}-->